﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script>
			onload = function(){
				var btn = document.getElementById("btn");
				btn.onclick = function(){
					var _script=document.createElement("script");
					_script.src="http://suggestion.baidu.com/su?wd=123 &cb=req";
					document.body.appendChild(_script);
				}
			}
			function req(requ){
				console.log(requ);
			}
			
			
		</script>
	</head>

	<body>
		<button id="btn">点击</button>
	</body>

</html>



























